<?php

require_once './model/amazon/GetAmazonBookInfo.php';

class IndexController
{
	function indexAction()
	{
		$web_url     ='http://www.amazon.cn';
		$url 		 ='http://www.amazon.cn/%E5%9B%BE%E4%B9%A6/b/ref=sa_menu_top_books_l1?ie=UTF8&node=658390051';
		$amazonModel = new GetAmazonBookInfo($url,$web_url);
		return $amazonModel->getBooks();
	}
	
	function getAmazonBook()
	{
		
	}
	
	function searchAction()
	{
		
	}
	
	
}
?>